Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--debug enables --show-trace on nix build commands #456

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

Qubasa
Copy link
Contributor

@Qubasa Qubasa commented Jan 20, 2025

Just a little debugging improvement

@Mic92 Mic92 added this pull request to the merge queue Feb 7, 2025
Merged via the queue into nix-community:main with commit 90a51e8 Feb 7, 2025
4 checks passed
@dasJ
Copy link
Member

dasJ commented Feb 7, 2025

Was this tested?

++ nix build --print-out-paths --no-link ' --show-trace' --extra-experimental-features 'nix-command flakes' --no-write-lock-file -L '.#nixosConfigurations."test".config.system.build.diskoScript'
error: getting status of '/home/janne/ --show-trace': No such file or directory

Not adding the trace parameter doesn't help either:

++ nix build --print-out-paths --no-link '' --extra-experimental-features 'nix-command flakes' --no-write-lock-file -L '.#nixosConfigurations."test".config.system.build.diskoScript'
error: flake 'git+file:///home/janne' does not provide attribute 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants